import api from "./api";
import  axios from "../until/axios";


export const  upload = (data)=>{
    return  axios({
        method:"POST",
        url:api.upload.url,
        headers:{
            "Authorization":window.localStorage.getItem("token")
        },
        data
    })

}